clone method

  1. @override
FormRequest clone()
inherited

Returns a clone of this request.

Sub classes should override this, call super.clone() first to get the base clone, and then add fields specific to their implementation.

Implementation

@override
FormRequest clone() {
  final FormRequest requestClone = super.clone() as FormRequest;
  return requestClone..fields = fields;
}