SpacePermissionRequestOperation.fromJson constructor

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

Implementation

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