QueryInfo.fromJson constructor

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

Implementation

factory QueryInfo.fromJson(Map<String, dynamic> json) {
  return QueryInfo(
    selectFields: (json['SelectFields'] as List?)
        ?.whereNotNull()
        .map((e) => FieldInfo.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}