importSpaceMeta method

Future<XRPCResponse<EmptyData>> importSpaceMeta({
  1. required Uint8List bytes,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $parameters,
})

Import a space's state from an archive produced by exportSpaceMeta, for account migration. Must be called before importing the authority's space repo with importRepo. Requires auth as the space authority, implemented by PDS.

Implementation

Future<XRPCResponse<EmptyData>> importSpaceMeta({
  required Uint8List bytes,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $parameters,
}) async => await comAtprotoSpaceImportSpaceMeta(
  bytes: bytes,
  $parameters: $parameters,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
);