fromJson static method
Implementation
static TonNftAttribute? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return TonNftAttribute(
traitType: (json['trait_type'] as String?) ?? '',
value: (json['value'] as String?) ?? '',
);
}