GasConfig.fromJson constructor
Implementation
factory GasConfig.fromJson(Map<String, dynamic> json) {
return GasConfig(
budget: BigInt.tryParse(json["budget"]?.toString() ?? ""),
price: BigInt.tryParse(json["price"]?.toString() ?? ""),
payment: json["payment"]?.map<SuiObjectRef>((e) => SuiObjectRef.fromJson(e)).toList(),
owner: json["owner"]
);
}