copyWith method

SpaceProperty copyWith({
  1. String? id,
  2. String? key,
  3. dynamic value,
  4. Version? version,
  5. Space? space,
  6. GenericLinks? links,
  7. SpacePropertyExpandable? expandable,
})

Implementation

SpaceProperty copyWith(
    {String? id,
    String? key,
    dynamic value,
    Version? version,
    Space? space,
    GenericLinks? links,
    SpacePropertyExpandable? expandable}) {
  return SpaceProperty(
    id: id ?? this.id,
    key: key ?? this.key,
    value: value ?? this.value,
    version: version ?? this.version,
    space: space ?? this.space,
    links: links ?? this.links,
    expandable: expandable ?? this.expandable,
  );
}