NetworkRequest.formSubmit constructor Null safety

const NetworkRequest.formSubmit(
  1. {required String url,
  2. @Default({}) Map<String, String> headers,
  3. @Default(false) bool validate}
)

Implementation

const factory NetworkRequest.formSubmit({
  required String url,
  @Default({}) Map<String, String> headers,
  @Default(false) bool validate,
}) = FormSubmitNetworkRequest;