CameraInfos class

CameraInfos is the class for camera information.

Constructors

CameraInfos({required List<Cameras> cameras})
constructor for the class.
CameraInfos.fromJson(String source)
fromJson is the method to convert the json to a class.
factory
CameraInfos.fromMap(Map<String, dynamic> map)
fromMap is the method to convert a map to the class.
factory

Properties

cameras List<Cameras>
cameras is the name of the camera.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<Cameras>? cameras}) CameraInfos
copyWith is the function to copy the class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toJson is the method to convert the class to a json.
toMap() Map<String, dynamic>
toMap is the method to convert the class to a map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override