toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (azureLocation != null) 'azureLocation': azureLocation!,
      if (clientSecretCreds != null) 'clientSecretCreds': clientSecretCreds!,
      if (error != null) 'error': error!,
      if (migrationResourcesUserTags != null)
        'migrationResourcesUserTags': migrationResourcesUserTags!,
      if (resourceGroupId != null) 'resourceGroupId': resourceGroupId!,
      if (state != null) 'state': state!,
      if (subscriptionId != null) 'subscriptionId': subscriptionId!,
    };