toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backupContext != null) 'backupContext': backupContext!.toJson(),
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!.toJson(),
      if (exportContext != null) 'exportContext': exportContext!.toJson(),
      if (importContext != null) 'importContext': importContext!.toJson(),
      if (insertTime != null) 'insertTime': insertTime!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (operationType != null) 'operationType': operationType!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (startTime != null) 'startTime': startTime!,
      if (status != null) 'status': status!,
      if (targetId != null) 'targetId': targetId!,
      if (targetLink != null) 'targetLink': targetLink!,
      if (targetProject != null) 'targetProject': targetProject!,
      if (user != null) 'user': user!,
    };