fromJson static method

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

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

Implementation

static InternalServiceLinks? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return InternalServiceLinks(
    organization:
        InternalServiceLinksOrganization.fromJson(json[r'organization']),
    self: InternalServiceLinksSelf.fromJson(json[r'self']),
  );
}