FormDataController constructor

FormDataController(
  1. String viewType,
  2. int id, {
  3. Future handler(
    1. MethodCall
    )?,
})

Implementation

FormDataController(String viewType, int id,
    {Future<dynamic> Function(MethodCall)? handler}) {
  channel = MethodChannel('$viewType/$id');
  channel.setMethodCallHandler(handler);
}