toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (serviceAttachments.isNotDefault)
    'serviceAttachments': [for (final i in serviceAttachments) i.toJson()],
  'warning': ?warning?.toJson(),
};