copyWith method

UserProperty copyWith({
  1. String? key,
  2. Map<String, dynamic>? value,
  3. String? id,
  4. DateTime? lastModifiedDate,
  5. DateTime? createdDate,
  6. GenericLinks? links,
})

Implementation

UserProperty copyWith(
    {String? key,
    Map<String, dynamic>? value,
    String? id,
    DateTime? lastModifiedDate,
    DateTime? createdDate,
    GenericLinks? links}) {
  return UserProperty(
    key: key ?? this.key,
    value: value ?? this.value,
    id: id ?? this.id,
    lastModifiedDate: lastModifiedDate ?? this.lastModifiedDate,
    createdDate: createdDate ?? this.createdDate,
    links: links ?? this.links,
  );
}