toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (clientId != null) 'clientId': clientId!,
  if (eventHub != null) 'eventHub': eventHub!,
  if (gcpServiceAccount != null) 'gcpServiceAccount': gcpServiceAccount!,
  if (namespace != null) 'namespace': namespace!,
  if (resourceGroup != null) 'resourceGroup': resourceGroup!,
  if (state != null) 'state': state!,
  if (subscriptionId != null) 'subscriptionId': subscriptionId!,
  if (tenantId != null) 'tenantId': tenantId!,
};