ModelMetadataMessage class

The metadata dictionary of an MLModelDescription.

Constructors

ModelMetadataMessage({String? author, String? license, String? modelDescription, String? versionString, required Map<String, String> creatorDefined})

Properties

author ↔ String?
getter/setter pair
creatorDefined ↔ Map<String, String>
MLModelCreatorDefinedKey, flattened to strings.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
license ↔ String?
getter/setter pair
modelDescription ↔ String?
MLModelDescriptionKey.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
versionString ↔ String?
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → ModelMetadataMessage