SpacePermissionV2Operation.fromJson constructor

SpacePermissionV2Operation.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SpacePermissionV2Operation.fromJson(Map<String, Object?> json) {
  return SpacePermissionV2Operation(
    key: SpacePermissionV2OperationKey.fromValue(
        json[r'key'] as String? ?? ''),
    target: SpacePermissionV2OperationTarget.fromValue(
        json[r'target'] as String? ?? ''),
  );
}