GetRevisionResponse.fromJson constructor

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

Implementation

factory GetRevisionResponse.fromJson(Map<String, dynamic> json) {
  return GetRevisionResponse(
    revision: ValueHolder.fromJson(json['Revision'] as Map<String, dynamic>),
    proof: json['Proof'] != null
        ? ValueHolder.fromJson(json['Proof'] as Map<String, dynamic>)
        : null,
  );
}