IosCamera.fromJson constructor

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

Implementation

factory IosCamera.fromJson(Map<String, dynamic> json) {
  return IosCamera(
    type: IosCameraTypeCode.fromCode(json['type']),
    position: IosCameraPositionCode.fromCode(json['position']),
  );
}