toJson method
Implementation
@override
Object toJson() => {
'adminEnabled': ?adminEnabled,
'creationTimestamp': ?creationTimestamp,
'description': ?description,
if (endpoints.isNotDefault)
'endpoints': {for (final e in endpoints.entries) e.key: e.value.toJson()},
'id': ?id?.toString(),
'kind': ?kind,
'name': ?name,
'reconciling': ?reconciling,
'selfLink': ?selfLink,
'topology': ?topology?.toJson(),
'wireProperties': ?wireProperties?.toJson(),
if (wires.isNotDefault) 'wires': [for (final i in wires) i.toJson()],
};