copyWith method

Profile copyWith({
  1. String? id,
  2. String? lenderId,
  3. String? anchorId,
})

Implementation

Profile copyWith({String? id, String? lenderId, String? anchorId}) => Profile(
      id: id ?? this.id,
      lenderId: lenderId ?? this.lenderId,
      anchorId: anchorId ?? this.anchorId,
    );