checkForDuplicates method
- String key
Given a value and a model name, checks if there are cards that have a first field with a matching value.
Implementation
Future<bool> checkForDuplicates(String key) async {
return await methodChannel.invokeMethod(
'checkForDuplicates',
<String, dynamic>{
'models': duplicateCheckModels,
'key': key,
},
);
}