toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final displayName = this.displayName;
  final name = this.name;
  final newsletterConfig = this.newsletterConfig;
  final state = this.state;
  final type = this.type;
  return {
    'displayName': ?displayName,
    'name': ?name,
    'newsletterConfig': ?newsletterConfig,
    'state': ?state,
    'type': ?type,
  };
}