QueryTableEntryRequest.fromJson constructor

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

Implementation

factory QueryTableEntryRequest.fromJson(Map<String, dynamic> json) {
  return QueryTableEntryRequest(
    address: json.valueAsString<String?>('address', acceptCamelCase: true),
    keyBytes: json.valueAsBytes<List<int>?>(
      'key_bytes',
      acceptCamelCase: true,
      encoding: StringEncoding.base64,
    ),
  );
}