factory VideoSource.fromMap(Map<String, dynamic> map) { return VideoSource( position: map['position'] as CameraPosition, ); }