toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'id'] = this.id;
  json[r'uuid'] = this.uuid;
  json[r'sessionUuid'] = this.sessionUuid;
  json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
  json[r'createdBy'] = this.createdBy;
  return json;
}