RevisionInfo.fromJson constructor

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

Implementation

factory RevisionInfo.fromJson(Map<String, dynamic> json) {
  return RevisionInfo(
    genericRevisionInfo: json['genericRevisionInfo'] != null
        ? GenericRevisionInfo.fromJson(
            json['genericRevisionInfo'] as Map<String, dynamic>)
        : null,
    revisionLocation: json['revisionLocation'] != null
        ? RevisionLocation.fromJson(
            json['revisionLocation'] as Map<String, dynamic>)
        : null,
  );
}