fromJson static method

PremiumSourceStoryFeature? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static PremiumSourceStoryFeature? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return PremiumSourceStoryFeature(
    feature: PremiumStoryFeature.fromJson(tdMapFromJson(json['feature'])),
  );
}