EpicRankRequestBean.fromJson constructor

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

Implementation

factory EpicRankRequestBean.fromJson(Map<String, Object?> json) {
  return EpicRankRequestBean(
    rankBeforeEpic: json[r'rankBeforeEpic'] as String?,
    rankAfterEpic: json[r'rankAfterEpic'] as String?,
    rankCustomFieldId: (json[r'rankCustomFieldId'] as num?)?.toInt(),
  );
}