init method
/// Initializes the platform interface with id
.
This method is called when the plugin is first initialized.
Implementation
@override
Future<void> init(int mapId) {
final MethodChannel channel = ensureChannelInitialized(mapId);
return channel.invokeMethod<void>('map#waitForMap');
}