toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (activationDurationMinutes != null)
'activationDurationMinutes': activationDurationMinutes!,
if (advertiserId != null) 'advertiserId': advertiserId!,
if (displayName != null) 'displayName': displayName!,
if (latestActivationTime != null)
'latestActivationTime': latestActivationTime!,
if (name != null) 'name': name!,
if (state != null) 'state': state!,
if (triggerId != null) 'triggerId': triggerId!,
};