ResponseInit constructor

ResponseInit({
  1. int? status,
  2. String? statusText,
  3. dynamic headers,
})

Implementation

factory ResponseInit({int? status, String? statusText, dynamic headers}) =>
    ResponseInit._(
        status: status ?? 200,
        statusText: statusText ?? '',
        headers: headers ?? undefined);