graphicFieldImageByTypeSource method
- GraphicFieldType fieldType,
- ResultType source
Allows you to get an image of a graphic field based on a source type.
Implementation
Future<Image?> graphicFieldImageByTypeSource(
GraphicFieldType fieldType,
ResultType source,
) async {
String? result = await _bridge.invokeMethod(
"graphicFieldImageByTypeSource",
[
rawResult,
fieldType.value,
source.value,
],
);
if (result == null) return null;
return _imageFromBase64(result);
}