getView method

Future getView(
  1. String id
)

Implementation

Future<dynamic> getView(String id) async {
  if (Platform.isAndroid) {
    return await ($instance as BasicHelper).invoke<dynamic>(
      method: 'getView',
      args: [id],
      addGlobalEngine: false,
    );
  } else if (Platform.isIOS) {
    return await ($instance as BasicHelper).invoke<dynamic>(
      method: 'getView:',
      args: [id],
      addGlobalEngine: false,
    );
  } else {
    throw UnsupportedError('Unsupported platform');
  }
}