SuiParsedSplitCoinResponse.fromJson constructor

SuiParsedSplitCoinResponse.fromJson(
  1. dynamic data
)

Implementation

factory SuiParsedSplitCoinResponse.fromJson(dynamic data) {
  return SuiParsedSplitCoinResponse(
    SuiObject.fromJson(data['updatedCoin']),
    data['newCoins'],
    SuiObject.fromJson(data['updatedGas'])
  );
}