copy method

Returns a copy of PullToRefreshSettings.

Implementation

PullToRefreshSettings copy() {
  return PullToRefreshSettings.fromMap(toMap()) ?? PullToRefreshSettings();
}