copyWith method

ConnectedApplication copyWith({
  1. String? applicationId,
  2. String? name,
  3. String? applicationUrl,
  4. String? reasonForAccess,
  5. String? createdAt,
  6. List<ConnectedApplicationProductDataTypes>? productDataTypes,
  7. NullableScopes? scopes,
  8. RequestedScopes? requestedScopes,
})

Implementation

ConnectedApplication copyWith(
    {String? applicationId,
    String? name,
    String? logo,
    String? applicationUrl,
    String? reasonForAccess,
    String? createdAt,
    List<enums.ConnectedApplicationProductDataTypes>? productDataTypes,
    NullableScopes? scopes,
    RequestedScopes? requestedScopes}) {
  return ConnectedApplication(
      applicationId: applicationId ?? this.applicationId,
      name: name ?? this.name,
      logo: logo ?? this.logo,
      applicationUrl: applicationUrl ?? this.applicationUrl,
      reasonForAccess: reasonForAccess ?? this.reasonForAccess,
      createdAt: createdAt ?? this.createdAt,
      productDataTypes: productDataTypes ?? this.productDataTypes,
      scopes: scopes ?? this.scopes,
      requestedScopes: requestedScopes ?? this.requestedScopes);
}