fromJson static method

Installation? fromJson(
  1. Map? json
)

Creates an Installation instance from a JSON map.

Implementation

static Installation? fromJson(Map? json) {
  if (json == null) {
    return null;
  }
  return Installation(
    json,
    id: json['id'],
  );
}