PlacesAPINew constructor
PlacesAPINew({
- String? baseUrl,
- String? token,
- TokenCallback? tokenCallback,
- String? apiKey,
- Duration? connectTimeout,
- Duration? receiveTimeout,
- Duration? sendTimeout,
- HttpClient? httpClient,
Implementation
PlacesAPINew({
String? baseUrl,
super.token,
super.tokenCallback,
super.apiKey,
super.connectTimeout,
super.receiveTimeout,
super.sendTimeout,
super.httpClient,
}) : super(
baseUrl: baseUrl ??= 'https://places.googleapis.com',
dataType: Place(),
) {
_service = PlacesServiceNew(dio: restAPI.dio);
}