copyWith method

TomIdentity copyWith({
  1. String? displayName,
  2. String? authorId,
})

Implementation

TomIdentity copyWith({String? displayName, String? authorId}) => TomIdentity(
  displayName: displayName ?? this.displayName,
  authorId: authorId ?? this.authorId,
);