UCameraFormat.fromMap constructor
Implementation
factory UCameraFormat.fromMap(Map<Object?, Object?> map) => UCameraFormat(
size: UCameraSize.fromMap(map["size"] ?? map),
minFps: ((map["minFps"] as num?) ?? 0).toDouble(),
maxFps: ((map["maxFps"] as num?) ?? 0).toDouble(),
isHighSpeed: map["highSpeed"] == true,
supportsHdr: map["hdr"] == true,
supportsDepth: map["depth"] == true,
);