ContentfulClient class
Contentful client used to make requests to the Contentful Delivery API.
Constructors
- ContentfulClient({required String spaceId, required String accessToken, String environmentId = 'master', Locale locale = const Locale('en-US')})
-
Creates a new instance of the Contentful client.
const
Properties
- accessToken → String
-
The access token used to authenticate the client.
final
- environmentId → String
-
The environment ID used to identify the environment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → Locale
-
The locale used to identify the locale.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spaceId → String
-
The space ID used to identify the space.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited