copyWith method

AuditRecordCreateAuthor copyWith({
  1. AuditRecordCreateAuthorType? type,
  2. String? displayName,
  3. Map<String, dynamic>? operations,
  4. String? username,
  5. String? userKey,
})

Implementation

AuditRecordCreateAuthor copyWith(
    {AuditRecordCreateAuthorType? type,
    String? displayName,
    Map<String, dynamic>? operations,
    String? username,
    String? userKey}) {
  return AuditRecordCreateAuthor(
    type: type ?? this.type,
    displayName: displayName ?? this.displayName,
    operations: operations ?? this.operations,
    username: username ?? this.username,
    userKey: userKey ?? this.userKey,
  );
}