ImageStats class

ImageStats is the response object when requesting direct_upload For instance: https://api.cloudflare.com/#cloudflare-images-images-usage-statistics

Annotations
  • @JsonSerializable()

Constructors

ImageStats({int? current, int? allowed})
const
ImageStats.fromJson(Map<String, dynamic> json)
factory

Properties

allowed int
Allowed usage
final
current int
Current usage
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJsonList(List? jsonList) List<ImageStats>?
inherited
fromJsonMap(Map<String, dynamic>? json) ImageStats?
fromJsonString(String? json) ImageStats?
inherited
fromJsonStringList(String? jsonStringList) List<ImageStats>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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