toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (exactStaleness != null) 'exactStaleness': exactStaleness!,
      if (maxStaleness != null) 'maxStaleness': maxStaleness!,
      if (minReadTimestamp != null) 'minReadTimestamp': minReadTimestamp!,
      if (readTimestamp != null) 'readTimestamp': readTimestamp!,
      if (returnReadTimestamp != null)
        'returnReadTimestamp': returnReadTimestamp!,
      if (strong != null) 'strong': strong!,
    };