SqlApplicationConfigurationDescription.fromJson constructor

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

Implementation

factory SqlApplicationConfigurationDescription.fromJson(
    Map<String, dynamic> json) {
  return SqlApplicationConfigurationDescription(
    inputDescriptions: (json['InputDescriptions'] as List?)
        ?.whereNotNull()
        .map((e) => InputDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    outputDescriptions: (json['OutputDescriptions'] as List?)
        ?.whereNotNull()
        .map((e) => OutputDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    referenceDataSourceDescriptions:
        (json['ReferenceDataSourceDescriptions'] as List?)
            ?.whereNotNull()
            .map((e) => ReferenceDataSourceDescription.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}