toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (action.isNotDefault) 'action': action.toJson(),
  if (service.isNotDefault) 'service': service,
  if (exemptedMember.isNotDefault) 'exemptedMember': exemptedMember,
  if (logType.isNotDefault) 'logType': logType,
};