toJson method

  1. @override
Object toJson()

Implementation

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