endOfStream 方法

void endOfStream([
  1. String? error
])

实现

void endOfStream([String? error]) native;