Pronunciation class abstract

Object model for a term variant's pronunciation.

  • term is a term or word.
  • dialect is the pronunciation version of the term.
  • phoneticSpelling is the phonetic spelling of a term variant using the International Phonetic Alphabet (IPA).
  • audioLink is a link to an audio file for the pronunciation.
Implementers

Constructors

Pronunciation.new({required String term, required String phoneticSpelling, required String dialect, String? audioLink})
Factory constructor returns a Pronunciation instance.
factory

Properties

Link to an audio file for the pronunciation.
no setter
dialect String
The pronunciation version of the term (e.g. "Australian").
no setter
hashCode int
The hash code for this object.
no setterinherited
phoneticSpelling String
The phonetic spelling of the term variant using the International Phonetic Alphabet (IPA).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
term String
The term for this entry.
no setter

Methods

copyWith({String? term, String? dialect, String? phoneticSpelling, String? audioLink}) Pronunciation
Returns a copy of the Pronunciation instance with updated properties.
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

empty → const _PronunciationImpl
A const Pronunciation instance with empty properties.