setDataMasking method Null safety

Future<void> setDataMasking(
  1. List masks,
  2. String character
)

Sets data masking with default character / passed single character and based on masks rule.

Implementation

static Future<void> setDataMasking(List masks, String character) async {
  await _channel.invokeMethod('setDataMasking',
      <String, dynamic>{'masks': masks, 'character': character});
}