Api class

Api model

Handle Prismic.io entrypoint data for querying.

Annotations
  • @freezed

Constructors

Api({@JsonKey(name: 'oauth_initiate') required String? oauthInitiate, @JsonKey(name: 'oauth_token') required String? oauthToken, Map<String, String>? types, String? license, required List<Language> languages, required List<Ref> refs, required String version})
Deafult factory constructor for Ref
factory
Api.fromJson(Map<String, dynamic> json)
Creates a Api object from json
factory

Properties

copyWith → $ApiCopyWith<Api>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
languages List<Language>
no setterinherited
license String?
no setterinherited
oauthInitiate String?
no setterinherited
oauthToken String?
no setterinherited
refs List<Ref>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types Map<String, String>?
no setterinherited
version String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited