File class

Annotations
  • @freezed

Constructors

File({String? id, String? object, int? bytes, @JsonKey(name: "created_at") int? createdAt, String? filename, String? purpose})
Contains the file object.
const
factory
File.fromJson(Map<String, Object?> json)
factory

Properties

bytes int?
no setterinherited
copyWith → $FileCopyWith<File>
no setterinherited
createdAt int?
no setterinherited
filename String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
object String?
no setterinherited
purpose 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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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