PEDataController constructor

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

Implementation

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