TextModuleData class

Data for Text module.

All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.

Constructors

TextModuleData({String? body, String? header, String? id, LocalizedString? localizedBody, LocalizedString? localizedHeader})
TextModuleData.fromJson(Map json_)

Properties

body String?
The body of the Text Module, which is defined as an uninterrupted string.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
The header of the Text Module.
getter/setter pair
id String?
The ID associated with a text module.
getter/setter pair
localizedBody LocalizedString?
Translated strings for the body.
getter/setter pair
localizedHeader LocalizedString?
Translated strings for the header.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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