getRoot method Null safety

  1. @Deprecated('Most style members will be removed in path 2.0.')
String? getRoot(
  1. String path
)
Deprecated('Most style members will be removed in path 2.0.')">@Deprecated('Most style members will be removed in path 2.0.')

Implementation

@Deprecated('Most style members will be removed in path 2.0.')
String? getRoot(String path);