toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aspectRatio != null) 'aspectRatio': aspectRatio!,
      if (bitrateBps != null) 'bitrateBps': bitrateBps!,
      if (codec != null) 'codec': codec!,
      if (frameRateFps != null) 'frameRateFps': frameRateFps!,
      if (heightPixels != null) 'heightPixels': heightPixels!,
      if (rotation != null) 'rotation': rotation!,
      if (vendor != null) 'vendor': vendor!,
      if (widthPixels != null) 'widthPixels': widthPixels!,
    };