v1CreateTvcAppResult.fromJson constructor

v1CreateTvcAppResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1CreateTvcAppResult.fromJson(Map<String, dynamic> json) {
  final _appId = json['appId'] as String;
  final _manifestSetId = json['manifestSetId'] as String;
  final _manifestSetOperatorIds = (json['manifestSetOperatorIds'] as List).map((e) => e as String).toList();
  final _manifestSetThreshold = json['manifestSetThreshold'] as num;
  return v1CreateTvcAppResult(
    appId: _appId,
    manifestSetId: _manifestSetId,
    manifestSetOperatorIds: _manifestSetOperatorIds,
    manifestSetThreshold: _manifestSetThreshold,
  );
}