HMSVideoResolution.fromMap constructor Null safety

HMSVideoResolution.fromMap(
  1. Map map
)

Implementation

factory HMSVideoResolution.fromMap(Map map) {
  return HMSVideoResolution(height: map['height'], width: map['width']);
}