WorldBloc class sealed

The WorldBloc class is an abstract class that represents a world bloc. It consists of a String values that represents the name and acronym of the WorldBloc. The name and acronym fields are required and must not be empty (if provided).

Implemented types
Implementers

Constructors

WorldBloc({required String name, String? acronym})
Creates a new WorldBloc object with the given name.
const

Properties

acronym String?
The acronym of the bloc.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the bloc.
final
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
toString({bool short = true}) String
A string representation of this object.
override

Operators

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