passValuesToNative static method

Future<String?> passValuesToNative(
  1. Student modal, {
  2. String value = '',
  3. required List arr,
  4. Map json = const {'' : ''},
  5. bool isTrue = false,
})

Implementation

static Future<String?> passValuesToNative(Student modal,
    {String value: '',
    required List arr,
    Map json: const {'': ''},
    bool isTrue: false}) async {
  final selectedValue = await _channel.invokeMethod('getDynamicValues', {'value': value,'arr': arr,
    'json': json,
    'isTrue': isTrue,
    'modal': modal.toJson()
  });
  return selectedValue.toString();
}