toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (destination != null) 'destination': destination!,
      if (displayName != null) 'displayName': displayName!,
      if (globalSettings != null) 'globalSettings': globalSettings!,
      if (hasUncommittedChanges != null)
        'hasUncommittedChanges': hasUncommittedChanges!,
      if (latestCommitId != null) 'latestCommitId': latestCommitId!,
      if (latestCommitTime != null) 'latestCommitTime': latestCommitTime!,
      if (name != null) 'name': name!,
      if (source != null) 'source': source!,
      if (updateTime != null) 'updateTime': updateTime!,
    };