SystemInstanceDescription.fromJson constructor
SystemInstanceDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SystemInstanceDescription.fromJson(Map<String, dynamic> json) {
return SystemInstanceDescription(
definition: json['definition'] != null
? DefinitionDocument.fromJson(
json['definition'] as Map<String, dynamic>)
: null,
flowActionsRoleArn: json['flowActionsRoleArn'] as String?,
metricsConfiguration: json['metricsConfiguration'] != null
? MetricsConfiguration.fromJson(
json['metricsConfiguration'] as Map<String, dynamic>)
: null,
s3BucketName: json['s3BucketName'] as String?,
summary: json['summary'] != null
? SystemInstanceSummary.fromJson(
json['summary'] as Map<String, dynamic>)
: null,
validatedDependencyRevisions: (json['validatedDependencyRevisions']
as List?)
?.whereNotNull()
.map((e) => DependencyRevision.fromJson(e as Map<String, dynamic>))
.toList(),
validatedNamespaceVersion: json['validatedNamespaceVersion'] as int?,
);
}