copyWith method
ConnectedApplication
copyWith({
- String? applicationId,
- String? name,
- String? logo,
- String? applicationUrl,
- String? reasonForAccess,
- String? createdAt,
- List<
ConnectedApplicationProductDataTypes> ? productDataTypes, - NullableScopes? scopes,
- 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);
}