fromJson static method

Issue? fromJson(
  1. Map? json
)

Creates an Issue instance from a JSON map.

Implementation

static Issue? fromJson(Map? json) {
  if (json == null) {
    return null;
  }
  return Issue(
    json,
    number: json['number'],
    htmlUrl: json['html_url'],
    body: json['body'],
  );
}