close方法

void close([
  1. int? code,
  2. String? reason
])

实现

void close([int? code, String? reason]) native;