copyWith method

ApiRequestBasicAuthorizationEntity copyWith({
  1. String? username,
  2. String? password,
})

Implementation

ApiRequestBasicAuthorizationEntity copyWith({
  final String? username,
  final String? password,
}) =>
    ApiRequestBasicAuthorizationEntity(
      username: username ?? this.username,
      password: password ?? this.password,
    );