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<Uint8List?> 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 _bytesFromBase64(result);
}