FastFeatureEntity.fromJson constructor

FastFeatureEntity.fromJson(
  1. Map<String, dynamic> json
)

Creates a FastFeatureEntity instance from a JSON object.

Implementation

factory FastFeatureEntity.fromJson(Map<String, dynamic> json) {
  return FastFeatureEntity(
    isEnabled: json['isEnabled'] as bool,
    name: json['name'] as String,
  );
}