Uri_Protocol constructor

Uri_Protocol({
  1. Uri_Schema? schema,
  2. String? name,
})

Implementation

factory Uri_Protocol({
  Uri_Schema? schema,
  $core.String? name,
}) {
  final _result = create();
  if (schema != null) {
    _result.schema = schema;
  }
  if (name != null) {
    _result.name = name;
  }
  return _result;
}