JqlQueryOrderByClause.fromJson constructor

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

Implementation

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