init method

Future init(
  1. int viewId
)

Initializes the platform interface with id.

This method is called when the plugin is first initialized.

Implementation

Future<dynamic> init(int viewId) {
  throw UnimplementedError('init() has not been implemented.');
}