SuiIntent.fromStruct constructor

SuiIntent.fromStruct(
  1. Map<String, dynamic> json
)

Implementation

factory SuiIntent.fromStruct(Map<String, dynamic> json) {
  return SuiIntent(
    scope: SuiIntentScope.fromStruct(json.asMap("scope")),
    version: SuiIntentVersion.fromStruct(json.asMap("version")),
    applicationId: SuiIntentApplicationId.fromStruct(
      json.asMap("applicationId"),
    ),
  );
}