WorklogIdsRequestBean.fromJson constructor

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

Implementation

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