LanguageOption class

LanguageOption model is to store/transfer data of language options.

Annotations

Constructors

LanguageOption({required String value, required String code, String? iconPath})
  • Contains code, value, and iconPath fields.
  • const

    Properties

    code String
    The code/abbreviation of the language option.
    final
    hashCode int
    This hashCode part is inspired from Quiver package. Quiver package link: https://pub.dev/packages/quiver
    no setteroverride
    iconPath String?
    Full asset path of the language option. Probably it will be the flag of a country. Ex: 'assets/images/google.png'
    final
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    value String
    The complete name of the language option.
    final

    Methods

    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
    Overrides the equality operator.
    override