HBin class

HBin models a binary file with a MIME type.

See Project Haystack

Inheritance

Constructors

HBin(String mime)
Construct for MIME type

Properties

hashCode int
Hash code is based on mime field
no setteroverride
mime String
MIME type for binary file
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(Object that) int
Returns sort order as negative, 0, or positive.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Encodes to JSON string value
override
toString() String
String format is for human consumption only.
inherited
toZinc() String
Encodes as "Bin(
override

Operators

operator ==(Object that) bool
Equals is based on mime field
override