fromUriOrString method

Uri fromUriOrString(
  1. dynamic uri
)

Implementation

Uri fromUriOrString(dynamic uri) =>
    uri is String ? Uri.parse(uri) : uri as Uri;