AuthorV2 class

The AuthorV2 class

Annotations
  • @freezed

Constructors

AuthorV2({String? bio, String? email, String? firstName, String? lastName, String? name})
The AuthorV2 constructor
factory
AuthorV2.fromJson(Map<String, dynamic> json)
The AuthorV2 from json
factory

Properties

bio String?
no setterinherited
copyWith → $AuthorV2CopyWith<AuthorV2>
Create a copy of AuthorV2 with the given fields replaced by the non-null parameter values.
no setterinherited
email String?
no setterinherited
firstName String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
lastName String?
no setterinherited
name String?
no setterinherited
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>
Serializes this AuthorV2 to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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