GetDetectionsRequest constructor

GetDetectionsRequest({
  1. String? name,
  2. List<int>? image,
  3. Int64? width,
  4. Int64? height,
  5. String? mimeType,
  6. Struct? extra,
})

Implementation

factory GetDetectionsRequest({
  $core.String? name,
  $core.List<$core.int>? image,
  $fixnum.Int64? width,
  $fixnum.Int64? height,
  $core.String? mimeType,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (image != null) {
    $result.image = image;
  }
  if (width != null) {
    $result.width = width;
  }
  if (height != null) {
    $result.height = height;
  }
  if (mimeType != null) {
    $result.mimeType = mimeType;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}