SuiTransferSui.fromJson constructor

SuiTransferSui.fromJson(
  1. dynamic data
)

Implementation

factory SuiTransferSui.fromJson(dynamic data) {
  return SuiTransferSui(
    data['recipient'],
    data['amount']
  );
}