copyWith method
OauthLinkInfo
copyWith(
{ - int? userId,
- String? url,
- String? domain,
- bool? fromApp,
- String? verifiedAppName,
- int? botUserId,
- bool? requestWriteAccess,
- bool? requestPhoneNumberAccess,
- String? browser,
- String? platform,
- String? ipAddress,
- String? location,
- bool? matchCodeFirst,
- List<String>? matchCodes,
})
Implementation
OauthLinkInfo copyWith({
int? userId,
String? url,
String? domain,
bool? fromApp,
String? verifiedAppName,
int? botUserId,
bool? requestWriteAccess,
bool? requestPhoneNumberAccess,
String? browser,
String? platform,
String? ipAddress,
String? location,
bool? matchCodeFirst,
List<String>? matchCodes,
}) => OauthLinkInfo(
userId: userId ?? this.userId,
url: url ?? this.url,
domain: domain ?? this.domain,
fromApp: fromApp ?? this.fromApp,
verifiedAppName: verifiedAppName ?? this.verifiedAppName,
botUserId: botUserId ?? this.botUserId,
requestWriteAccess: requestWriteAccess ?? this.requestWriteAccess,
requestPhoneNumberAccess:
requestPhoneNumberAccess ?? this.requestPhoneNumberAccess,
browser: browser ?? this.browser,
platform: platform ?? this.platform,
ipAddress: ipAddress ?? this.ipAddress,
location: location ?? this.location,
matchCodeFirst: matchCodeFirst ?? this.matchCodeFirst,
matchCodes: matchCodes ?? this.matchCodes,
);