copyWith method

OauthLinkInfo copyWith({
  1. int? userId,
  2. String? url,
  3. String? domain,
  4. bool? fromApp,
  5. String? verifiedAppName,
  6. int? botUserId,
  7. bool? requestWriteAccess,
  8. bool? requestPhoneNumberAccess,
  9. String? browser,
  10. String? platform,
  11. String? ipAddress,
  12. String? location,
  13. bool? matchCodeFirst,
  14. 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,
);