Translation class abstract

Annotations
  • @freezed

Constructors

Translation({required TranslatedName verse, @Default.new(0) int id, @Default.new(0) int number, @Default.new("") String name, @Default.new("") String authorName, @Default.new("") String slug, @Default.new("") String languageName})
factory
Translation.fromJson(Map<String, dynamic> json)
factory

Properties

authorName String
no setterinherited
copyWith → $TranslationCopyWith<Translation>
Create a copy of Translation with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
languageName String
no setterinherited
name String
no setterinherited
number int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
no setterinherited
verse TranslatedName
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Translation to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited