AccountData.fromJson constructor
AccountData.fromJson(
- dynamic data
Implementation
factory AccountData.fromJson(dynamic data) => parseWithEncoding(
data,
fromEncoded: AccountData.binary,
fromParsed: ParsedAccountData.fromJson,
onUnknownEncoding: (String encoding) => encoding.isEmpty
? const AccountData.empty()
: throw FormatException('unknown encoding $encoding'),
);