copyWith method

SpaceDescription copyWith({
  1. String? value,
  2. SpaceDescriptionRepresentation? representation,
  3. List<Map<String, dynamic>>? embeddedContent,
})

Implementation

SpaceDescription copyWith(
    {String? value,
    SpaceDescriptionRepresentation? representation,
    List<Map<String, dynamic>>? embeddedContent}) {
  return SpaceDescription(
    value: value ?? this.value,
    representation: representation ?? this.representation,
    embeddedContent: embeddedContent ?? this.embeddedContent,
  );
}