CollectionConfiguration.fromJson constructor

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

Implementation

factory CollectionConfiguration.fromJson(Map<String, dynamic> json) {
  return CollectionConfiguration(
    collectionName: json['CollectionName'] as String?,
    collectionParameters:
        (json['CollectionParameters'] as Map<String, dynamic>?)
            ?.map((k, e) => MapEntry(k, e as String)),
  );
}