QueryInflationResponse.fromJson constructor

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

Implementation

factory QueryInflationResponse.fromJson(Map<String, dynamic> json) {
  return QueryInflationResponse(
    inflation: json.valueAsBytes<List<int>?>(
      'inflation',
      acceptCamelCase: true,
      encoding: StringEncoding.base64,
    ),
  );
}