CameraErrorEvent.fromJson constructor

CameraErrorEvent.fromJson(
  1. Map<String, dynamic> json
)

Converts the supplied Map to an instance of the CameraErrorEvent class.

Implementation

CameraErrorEvent.fromJson(Map<String, dynamic> json)
    : description = json['description']! as String,
      super(json['cameraId']! as int);