RequestResult constructor

RequestResult({
  1. int? requestId,
  2. int? statusCode,
  3. String? data,
})

Implementation

factory RequestResult({
  $core.int? requestId,
  $core.int? statusCode,
  $core.String? data,
}) {
  final _result = create();
  if (requestId != null) {
    _result.requestId = requestId;
  }
  if (statusCode != null) {
    _result.statusCode = statusCode;
  }
  if (data != null) {
    _result.data = data;
  }
  return _result;
}