copyWith method

ConnectedApplication copyWith({
  1. String? applicationId,
  2. String? name,
  3. String? displayName,
  4. String? logoUrl,
  5. String? applicationUrl,
  6. String? reasonForAccess,
  7. DateTime? createdAt,
  8. ScopesNullable? scopes,
})

Implementation

ConnectedApplication copyWith(
    {String? applicationId,
    String? name,
    String? displayName,
    String? logoUrl,
    String? applicationUrl,
    String? reasonForAccess,
    DateTime? createdAt,
    ScopesNullable? scopes}) {
  return ConnectedApplication(
      applicationId: applicationId ?? this.applicationId,
      name: name ?? this.name,
      displayName: displayName ?? this.displayName,
      logoUrl: logoUrl ?? this.logoUrl,
      applicationUrl: applicationUrl ?? this.applicationUrl,
      reasonForAccess: reasonForAccess ?? this.reasonForAccess,
      createdAt: createdAt ?? this.createdAt,
      scopes: scopes ?? this.scopes);
}