graphicFieldImageByTypeSourcePageIndexLight method
- GraphicFieldType fieldType,
- ResultType source,
- int pageIndex,
- Lights light
Allows you to get an image of a graphic field based on a source type, page index and light type.
Implementation
Future<Uri?> graphicFieldImageByTypeSourcePageIndexLight(
GraphicFieldType fieldType,
ResultType source,
int pageIndex,
Lights light,
) async {
String? result = await _bridge.invokeMethod(
"graphicFieldImageByTypeSourcePageIndexLight",
[
rawResult,
fieldType.value,
source.value,
pageIndex,
light.value,
],
);
if (result == null) return null;
return Uri.parse("data:image/png;base64," + result);
}