Create static method

Future<XmlReader> Create(
  1. Stream<List<int>> inputStream
)

Implementation

static Future<XmlReader> Create(Stream<List<int>> inputStream) async {
  return new XmlReader(inputStream.transform(utf8.decoder));
}