AppStoreGenericResponse<T1 extends Serializable, T2 extends Serializable> class Null safety

A generic response from the App Store Connect API.

Mixed in types
Available Extensions

Constructors

AppStoreGenericResponse({Meta meta = const Meta(), List<T1> items = const [], List<T2>? included = const [], List links = const []})
A generic response from the App Store Connect API.
const
AppStoreGenericResponse.fromJson(T1 itemParser(Map map), String source, {T2 includedParser(Map map)?})
A generic response from the App Store Connect API. A parser for the App Store Connect API response. Accepts a JSON String and returns a AppStoreGenericResponse object.
factory
AppStoreGenericResponse.fromMap(T1 itemParser(Map map), Map json, {T2 includedParser(Map map)?})
A generic response from the App Store Connect API. A parser for the App Store Connect API response. Accepts a JSON Map and returns a AppStoreGenericResponse object.
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
included List<T2>?
A response that contains a list of App Store T2 resources related to T1.
final
items List<T1>
A response that contains a list of App Store T1 resources.
final
Links related to the response document, including paging links.
final
meta Meta
An object containing the pagination information returned from the API.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() String
Convert this object to a JSON map.
toMap() Map<String, dynamic>
Convert this object to a JSON string.
toString() String
A string representation of this object.
override

Operators

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