v1CreateTvcAppIntent.fromJson constructor

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

Implementation

factory v1CreateTvcAppIntent.fromJson(Map<String, dynamic> json) {
  final _name = json['name'] as String;
  final _quorumPublicKey = json['quorumPublicKey'] as String;
  final _manifestSetId = json['manifestSetId'] as String?;
  final _manifestSetParams = json['manifestSetParams'] == null ? null : v1TvcOperatorSetParams.fromJson(json['manifestSetParams'] as Map<String, dynamic>);
  final _shareSetId = json['shareSetId'] as String?;
  final _shareSetParams = json['shareSetParams'] == null ? null : v1TvcOperatorSetParams.fromJson(json['shareSetParams'] as Map<String, dynamic>);
  final _externalConnectivity = json['externalConnectivity'] as bool?;
  return v1CreateTvcAppIntent(
    name: _name,
    quorumPublicKey: _quorumPublicKey,
    manifestSetId: _manifestSetId,
    manifestSetParams: _manifestSetParams,
    shareSetId: _shareSetId,
    shareSetParams: _shareSetParams,
    externalConnectivity: _externalConnectivity,
  );
}