I've been going through nativescript code base to see how to update some of my plugins for {N} 3.0.1, and i see a lot of class methods this way.
[srcProperty.setNative](value: any) {
this._createImageSourceFromSrc(value);
}
see the contents of image-common.ts and image.android.ts to see the full source.
why are the properties of the exported const from image-common.ts used in image.android.ts a methods, and why are they wrapped in square brackets ?