Data class

Constructors

Data({required String id, required String name, required String clientId, required String gameId, required String challengeType, required String rewardCriteria, required dynamic description, required dynamic status, required Props props, required List<TaskElement> tasks, required DateTime createdAt, required DateTime updatedAt, required int v})
Data.fromJson(String str)
factory
Data.fromMap(Map<String, dynamic> json)
factory

Properties

challengeType String
final
clientId String
final
createdAt DateTime
final
description → dynamic
final
gameId String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
props Props
final
rewardCriteria String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status → dynamic
final
tasks List<TaskElement>
final
updatedAt DateTime
final
v int
final

Methods

copyWith({String? id, String? name, String? clientId, String? gameId, String? challengeType, String? rewardCriteria, dynamic description, dynamic status, Props? props, List<TaskElement>? tasks, DateTime? createdAt, DateTime? updatedAt, int? v}) Data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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