IssuesAndJQLQueries.fromJson constructor

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

Implementation

factory IssuesAndJQLQueries.fromJson(Map<String, Object?> json) {
  return IssuesAndJQLQueries(
    issueIds: (json[r'issueIds'] as List<Object?>?)
            ?.map((i) => (i as num?)?.toInt() ?? 0)
            .toList() ??
        [],
    jqls: (json[r'jqls'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}