copyWith method

Application copyWith({
  1. String? applicationId,
  2. String? name,
  3. String? createdAt,
  4. String? logoUrl,
  5. String? applicationUrl,
  6. String? reasonForAccess,
})

Implementation

Application copyWith(
    {String? applicationId,
    String? name,
    String? createdAt,
    String? logoUrl,
    String? applicationUrl,
    String? reasonForAccess}) {
  return Application(
      applicationId: applicationId ?? this.applicationId,
      name: name ?? this.name,
      createdAt: createdAt ?? this.createdAt,
      logoUrl: logoUrl ?? this.logoUrl,
      applicationUrl: applicationUrl ?? this.applicationUrl,
      reasonForAccess: reasonForAccess ?? this.reasonForAccess);
}