RevisionEntry.fromJson constructor

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

Implementation

factory RevisionEntry.fromJson(Map<String, dynamic> json) {
  return RevisionEntry(
    arn: json['Arn'] as String,
    createdAt: nonNullableTimeStampFromJson(json['CreatedAt'] as Object),
    dataSetId: json['DataSetId'] as String,
    id: json['Id'] as String,
    updatedAt: nonNullableTimeStampFromJson(json['UpdatedAt'] as Object),
    comment: json['Comment'] as String?,
    finalized: json['Finalized'] as bool?,
    sourceId: json['SourceId'] as String?,
  );
}