SanitizedJqlQuery.fromJson constructor

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

Implementation

factory SanitizedJqlQuery.fromJson(Map<String, Object?> json) {
  return SanitizedJqlQuery(
    accountId: json[r'accountId'] as String?,
    errors: json[r'errors'] != null
        ? ErrorCollection.fromJson(json[r'errors']! as Map<String, Object?>)
        : null,
    initialQuery: json[r'initialQuery'] as String?,
    sanitizedQuery: json[r'sanitizedQuery'] as String?,
  );
}