Info.fromJson constructor

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

Implementation

Info.fromJson(Map<String, dynamic> json) {
  isNative = json['isNative'];
  mint = json['mint'];
  owner = json['owner'];
  rentExemptReserve = json['rentExemptReserve'] != null
      ? RentExemptReserve.fromJson(json['rentExemptReserve'])
      : null;
  state = json['state'];
  tokenAmount = json['tokenAmount'] != null
      ? TokenAmount.fromJson(json['tokenAmount'])
      : null;
}