fromJson static method

Authorizations? fromJson(
  1. Map<String, dynamic>? json
)

Returns a new Authorizations instance and imports its values from json if it's non-null, null if json is null.

Implementation

static Authorizations? fromJson(Map<String, dynamic>? json) => json == null
    ? null
    : Authorizations(
        links: Links.fromJson(json[r'links']),
        authorizations: Authorization.listFromJson(json[r'authorizations']),
      );