Metadata


@CarProtocol
class Metadata


A metadata class used for attaching additional properties to models.

Summary

Nested types

A builder for Metadata.

Constants

const Metadata!

An empty Metadata instance.

Public functions

Boolean
equals(other: Any?)
Place?

Returns a Place instance set in the metadata.

Int

Constants

EMPTY_METADATA

Added in 1.0.0
const val EMPTY_METADATAMetadata!

An empty Metadata instance.

Public functions

equals

fun equals(other: Any?): Boolean

getPlace

Added in 1.0.0
fun getPlace(): Place?

Returns a Place instance set in the metadata.

See also
setPlace

hashCode

fun hashCode(): Int