ProductMarketingFeature.fromJson constructor

ProductMarketingFeature.fromJson(
  1. Object? json
)

Implementation

factory ProductMarketingFeature.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ProductMarketingFeature(
      name: map['name'] == null ? null : (map['name'] as String));
}