VideoSource.fromMap constructor

VideoSource.fromMap(
  1. Map<String, dynamic> map
)

Implementation

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