ClaimKeysResponse.fromJson constructor
Implementation
ClaimKeysResponse.fromJson(Map<String, Object?> json)
: failures = ((v) => v != null
? (v as Map<String, Object?>)
.map((k, v) => MapEntry(k, v as Map<String, Object?>))
: null)(json['failures']),
oneTimeKeys = (json['one_time_keys'] as Map<String, Object?>).map(
(k, v) => MapEntry(
k,
(v as Map<String, Object?>)
.map((k, v) => MapEntry(k, v as Map<String, Object?>)),
),
);