toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregationQuery != null) 'aggregationQuery': aggregationQuery!,
      if (databaseId != null) 'databaseId': databaseId!,
      if (explainOptions != null) 'explainOptions': explainOptions!,
      if (gqlQuery != null) 'gqlQuery': gqlQuery!,
      if (partitionId != null) 'partitionId': partitionId!,
      if (readOptions != null) 'readOptions': readOptions!,
    };