ConnectorDefinitionVersion.fromJson constructor

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

Implementation

factory ConnectorDefinitionVersion.fromJson(Map<String, dynamic> json) {
  return ConnectorDefinitionVersion(
    connectors: (json['Connectors'] as List?)
        ?.whereNotNull()
        .map((e) => Connector.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}