GetIntegrationsResponse.fromJson constructor

GetIntegrationsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetIntegrationsResponse.fromJson(Map<String, dynamic> json) {
  return GetIntegrationsResponse(
    items: (json['items'] as List?)
        ?.whereNotNull()
        .map((e) => Integration.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}