KnowledgeFile class

Knowledge-base file with its full markdown content.

Constructors

KnowledgeFile({required String id, required String fileName, required String content, required int byteLength, String? description, required DateTime createdAt, required DateTime updatedAt})
const
KnowledgeFile.fromJson(Map<String, dynamic> json)
factory

Properties

byteLength → int
final
content → String
final
createdAt → DateTime
final
description → String?
final
fileName → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime
final

Methods

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

Operators

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