close method

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

Implementation

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