toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'premiumFeatures',
    if (extra != null) '@extra': extra,
    'features': features,
    'limits': limits,
    'payment_link': payment_link
  };
}