SuiPackage.fromJson constructor

SuiPackage.fromJson(
  1. dynamic data
)

Implementation

factory SuiPackage.fromJson(dynamic data) {
  return SuiPackage(
    data['digest'],
    data['objectId'],
    data['version']
  );
}