PayAllSui.fromJson constructor
PayAllSui.fromJson(
- dynamic data
Implementation
factory PayAllSui.fromJson(dynamic data) {
final coinsList = (data['coins'] as List)
.map((x) => SuiObjectRef.fromJson(x))
.toList();
return PayAllSui(
coinsList,
data['recipient']
);
}