CameraBean.fromJson constructor

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

Implementation

factory CameraBean.fromJson(Map<String, dynamic> json) => CameraBean(
      takePhoto: json["takePhoto"] ?? "",
      delayTime: json["delayTime"] ?? -1,
    );