GetRevisionResponse.fromJson constructor
GetRevisionResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetRevisionResponse.fromJson(Map<String, dynamic> json) {
return GetRevisionResponse(
arn: json['Arn'] as String?,
comment: json['Comment'] as String?,
createdAt: timeStampFromJson(json['CreatedAt']),
dataSetId: json['DataSetId'] as String?,
finalized: json['Finalized'] as bool?,
id: json['Id'] as String?,
sourceId: json['SourceId'] as String?,
tags: (json['Tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
updatedAt: timeStampFromJson(json['UpdatedAt']),
);
}