readDataType static method
Reads the data type based on the data type name.
This method is used to read the customized data types of the app.
Implementation
static Future<DataType> readDataType(
String dataTypeName,
) async {
final Map<dynamic, dynamic>? result =
await _channel.invokeMethod<Map<dynamic, dynamic>?>(
'readDataType',
dataTypeName,
);
return DataType.fromMap(result!);
}