fromJson static method
Implementation
static TonWalletSecretPhrase? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return TonWalletSecretPhrase(
secretPhrase: (json['secret_phrase'] as String?) ?? '',
);
}
static TonWalletSecretPhrase? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return TonWalletSecretPhrase(
secretPhrase: (json['secret_phrase'] as String?) ?? '',
);
}