sorted<T> function Null safety

  1. @Deprecated('This function was not intended to be public. ' 'It will be removed from the public api in next major version. ')
List<T> sorted<T>(
  1. Iterable<T> list
)

Implementation

@Deprecated('This function was not intended to be public. '
    'It will be removed from the public api in next major version. ')
List<T> sorted<T>(Iterable<T> list) => List.from(list)..sort();