ListConnectorDefinitionsResponse.fromJson constructor

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

Implementation

factory ListConnectorDefinitionsResponse.fromJson(Map<String, dynamic> json) {
  return ListConnectorDefinitionsResponse(
    definitions: (json['Definitions'] as List?)
        ?.whereNotNull()
        .map((e) => DefinitionInformation.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}