AppStoreGenericResponse<T1 extends
Serializable, T2 extends Serializable>.fromJson
constructor
Null safety
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.
Implementation
factory AppStoreGenericResponse.fromJson(
T1 Function(Map<dynamic, dynamic> map) itemParser,
String source, {
T2 Function(Map<dynamic, dynamic> map)? includedParser,
}) =>
AppStoreGenericResponse.fromMap(
itemParser,
json.decode(source) as Map,
includedParser: includedParser,
);