SystemInstanceSummary.fromJson constructor
SystemInstanceSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SystemInstanceSummary.fromJson(Map<String, dynamic> json) {
return SystemInstanceSummary(
arn: json['arn'] as String?,
createdAt: timeStampFromJson(json['createdAt']),
greengrassGroupId: json['greengrassGroupId'] as String?,
greengrassGroupName: json['greengrassGroupName'] as String?,
greengrassGroupVersionId: json['greengrassGroupVersionId'] as String?,
id: json['id'] as String?,
status: (json['status'] as String?)?.toSystemInstanceDeploymentStatus(),
target: (json['target'] as String?)?.toDeploymentTarget(),
updatedAt: timeStampFromJson(json['updatedAt']),
);
}