isLocalUri static method Null safety

bool isLocalUri(
  1. Uri uri
)

Returns true if local.