graphicFieldImageByType method
- GraphicFieldType fieldType
Allows you to get an image of a graphic field.
Implementation
Future<Uri?> graphicFieldImageByType(
GraphicFieldType fieldType,
) async {
String? result = await _bridge.invokeMethod(
"graphicFieldImageByType",
[
rawResult,
fieldType.value,
],
);
if (result == null) return null;
return Uri.parse("data:image/png;base64," + result);
}