FrozenV2Model.fromJson constructor
Implementation
factory FrozenV2Model.fromJson(Map<String, dynamic> json) {
return FrozenV2Model._(
amount: BigintUtils.tryParse(json["amount"]) ?? BigInt.zero,
type: json['type'] ?? ResourceCode.bandWidth.name,
);
}