SanitizedJqlQueries.fromJson constructor

SanitizedJqlQueries.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SanitizedJqlQueries.fromJson(Map<String, Object?> json) {
  return SanitizedJqlQueries(
    queries: (json[r'queries'] as List<Object?>?)
            ?.map((i) => SanitizedJqlQuery.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}