QueryStringObject.fromJson constructor

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

Implementation

factory QueryStringObject.fromJson(Map<String, dynamic> json) {
  return QueryStringObject(
    option: json['option'] as bool?,
    queryStringsAllowList: (json['queryStringsAllowList'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}