graphicFieldByTypeSourcePageIndexLight method
Future<GraphicField?>
graphicFieldByTypeSourcePageIndexLight(
- 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<GraphicField?> graphicFieldByTypeSourcePageIndexLight(
GraphicFieldType fieldType,
ResultType source,
int pageIndex,
Lights light,
) async {
String? result = await _bridge.invokeMethod(
"graphicFieldByTypeSourcePageIndex",
[
rawResult,
fieldType.value,
source.value,
pageIndex,
light.value,
],
);
if (result == null) return null;
return GraphicField.fromJson(json.decode(result));
}