SpaceDescriptionCreate.fromJson constructor

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

Implementation

factory SpaceDescriptionCreate.fromJson(Map<String, Object?> json) {
  return SpaceDescriptionCreate(
    plain: SpaceDescriptionCreatePlain.fromJson(
        json[r'plain'] as Map<String, Object?>? ?? const {}),
  );
}