Paste class

Models a Pastebin paste

Constructors

Paste({required DateTime createdDate, required DateTime expiredDate, required Format format, required int? hits, required String? key, required int? sizeInBytes, required String? title, required Uri? url, required Visibility visibility})
const

Properties

createdDate DateTime
final
expiredDate DateTime
final
format Format
final
hashCode int
The hash code for this object.
no setterinherited
hits int?
final
key String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes int?
final
title String?
final
url Uri?
final
visibility Visibility
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

Static Methods

fromXmlDocument(XmlDocument xmlDocument) List<Paste>
fromXmlNode(XmlNode xmlNode) Paste