runSegmentationOnBinary method Null safety

Future<Uint8List?> runSegmentationOnBinary(
  1. {required Uint8List binary,
  2. List<int>? labelColors,
  3. String outputType = "png",
  4. bool asynch = true}
)

Implementation

static Future<Uint8List?> runSegmentationOnBinary(
    {required Uint8List binary,
    List<int>? labelColors,
    String outputType = "png",
    bool asynch = true}) async {
  return await _channel.invokeMethod(
    'runSegmentationOnBinary',
    {
      "binary": binary,
      "labelColors": labelColors ?? pascalVOCLabelColors,
      "outputType": outputType,
      "asynch": asynch,
    },
  );
}