SuiGasData.fromJson constructor

SuiGasData.fromJson(
  1. dynamic data
)

Implementation

factory SuiGasData.fromJson(dynamic data) {
  return SuiGasData(
    SuiObjectRef.fromJson(data['payment']),
    data['price'],
    data['budget']
  );
}