UpdateArchiveResponse.fromJson constructor

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

Implementation

factory UpdateArchiveResponse.fromJson(Map<String, dynamic> json) {
  return UpdateArchiveResponse(
    archiveArn: json['ArchiveArn'] as String?,
    creationTime: timeStampFromJson(json['CreationTime']),
    state: (json['State'] as String?)?.toArchiveState(),
    stateReason: json['StateReason'] as String?,
  );
}