close method

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

Implementation

void close([int? code, String? reason]) =>
    js_util.callMethod(this, 'close', [code, reason]);