Video.fromJson constructor

Video.fromJson(
  1. Map json_
)

Implementation

Video.fromJson(core.Map json_)
    : this(
        cameraMake: json_.containsKey('cameraMake')
            ? json_['cameraMake'] as core.String
            : null,
        cameraModel: json_.containsKey('cameraModel')
            ? json_['cameraModel'] as core.String
            : null,
        fps: json_.containsKey('fps')
            ? (json_['fps'] as core.num).toDouble()
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );