toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTime != null) 'creationTime': creationTime!,
      if (deletionTime != null) 'deletionTime': deletionTime!,
      if (description != null) 'description': description!,
      if (eventStream != null) 'eventStream': eventStream!,
      if (lastModificationTime != null)
        'lastModificationTime': lastModificationTime!,
      if (latestOperationName != null)
        'latestOperationName': latestOperationName!,
      if (loggingConfig != null) 'loggingConfig': loggingConfig!,
      if (name != null) 'name': name!,
      if (notificationConfig != null)
        'notificationConfig': notificationConfig!,
      if (projectId != null) 'projectId': projectId!,
      if (replicationSpec != null) 'replicationSpec': replicationSpec!,
      if (schedule != null) 'schedule': schedule!,
      if (status != null) 'status': status!,
      if (transferSpec != null) 'transferSpec': transferSpec!,
    };