graphicFieldByTypeSource method
Allows you to get an image of a graphic field based on a source type and page index.
Implementation
Future<GraphicField?> graphicFieldByTypeSource(
GraphicFieldType fieldType,
ResultType source,
) async {
String? result = await _bridge.invokeMethod(
"graphicFieldByTypeSource",
[
rawResult,
fieldType.value,
source.value,
],
);
if (result == null) return null;
return GraphicField.fromJson(json.decode(result));
}