copy<T> static method

T? copy<T>(
  1. T object
)

Alias for clone method to copy Dart object of type T

Implementation

static T? copy<T>(T object) => clone<T>(object);