NftInfo.fromJson constructor

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

Implementation

factory NftInfo.fromJson(Map<String, dynamic> json) => NftInfo(
      name: json['name'],
      content:
          json['content'] == null ? null : Content.fromJson(json['content']),
      flags: json['flags'] == null ? null : Flags.fromJson(json['flags']),
    );