TransferObject.fromJson constructor

TransferObject.fromJson(
  1. dynamic data
)

Implementation

factory TransferObject.fromJson(dynamic data) {
  return TransferObject(
    data['recipient'],
    SuiObjectRef.fromJson(['objectRef'])
  );
}