DataSource.from constructor

DataSource.from(
  1. Map<String, dynamic> json
)

Implementation

DataSource.from(Map<String, dynamic> json)
    : appPackageName = json['appPackageName'],
      device = Device.from(json['device']),
      streamIdentifier = json['streamIdentifier'],
      streamName = json['streamName'],
      type = DataSourceType.from(json['type']);