PublisherStream.fromMap constructor Null safety

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

Implementation

factory PublisherStream.fromMap(Map<String, dynamic> map) {
  return PublisherStream(
    simulcast: map['simulcast'] as bool,
    svc: map['svc'] as bool,
    feed: map['feed'] as int,
    mid: map['mid'] as String,
  );
}