CSchemeType enum

Identifies the scheme to utilize as part of the module open function.

Inheritance

Constructors

CSchemeType(String leading)
const

Values

file → const CSchemeType

Will open the program associated with the file.

const CSchemeType("file:")
http → const CSchemeType

Will open a web browser with http.

const CSchemeType("http://")
https → const CSchemeType

Will open a web browser with https.

const CSchemeType("https://")
mailto → const CSchemeType

Will open the default email program to send an email.

const CSchemeType("mailto:")
tel → const CSchemeType

Will open the default telephone program to make a call.

const CSchemeType("tel:")
sms → const CSchemeType

Will open the default texting app to send a text.

const CSchemeType("sms:")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
leading String
Identifies the leading scheme to form a URL.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getUrl(String data) String
Will return the formatted URL based on the scheme and the data provided.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CSchemeType>
A constant List of the values in this enum, in order of their declaration.