RequestMetadata constructor

RequestMetadata({
  1. String? callerIp,
  2. String? callerSuppliedUserAgent,
})

Implementation

factory RequestMetadata({
  $core.String? callerIp,
  $core.String? callerSuppliedUserAgent,
}) {
  final _result = create();
  if (callerIp != null) {
    _result.callerIp = callerIp;
  }
  if (callerSuppliedUserAgent != null) {
    _result.callerSuppliedUserAgent = callerSuppliedUserAgent;
  }
  return _result;
}