FeatureToggleRequestBean.fromJson constructor

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

Implementation

factory FeatureToggleRequestBean.fromJson(Map<String, Object?> json) {
  return FeatureToggleRequestBean(
    boardId: (json[r'boardId'] as num?)?.toInt(),
    feature: json[r'feature'] as String?,
    enabling: json[r'enabling'] as bool? ?? false,
  );
}