Gist class Null safety

Model class for gists.

Annotations

Constructors

Gist({String? id, String? description, bool? public, User? owner, User? user, List<GistFile>? files, String? htmlUrl, int? commentsCount, String? gitPullUrl, String? gitPushUrl, DateTime? createdAt, DateTime? updatedAt})
Gist.fromJson(Map<String, dynamic> input)
factory

Properties

commentsCount int?
@JsonKey(name: 'comments'), read / write
createdAt DateTime?
@JsonKey(name: 'created_at'), read / write
description String?
read / write
files List<GistFile>?
read / write
gitPullUrl String?
@JsonKey(name: 'git_pull_url'), read / write
gitPushUrl String?
@JsonKey(name: 'git_push_url'), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
htmlUrl String?
@JsonKey(name: 'html_url'), read / write
id String?
read / write
owner User?
read / write
public bool?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime?
@JsonKey(name: 'updated_at'), read / write
user User?
read / write

Methods

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

Operators

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