FileList class

A list of files.

Annotations
  • @immutable

Constructors

FileList({required String object, required List<FileObject> data})
Creates a FileList.
const
FileList.fromJson(Map<String, dynamic> json)
Creates a FileList from JSON.
factory

Properties

data List<FileObject>
The list of files.
final
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Whether the list is empty.
no setter
isNotEmpty bool
Whether the list is not empty.
no setter
length int
The number of files.
no setter
object String
The object type (always "list").
final
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>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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