toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (producerNotificationChannel != null)
        'producerNotificationChannel': producerNotificationChannel!,
      if (requirements != null) 'requirements': requirements!,
      if (rules != null) 'rules': rules!,
    };