GetObjectInformationResponse.fromJson constructor

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

Implementation

factory GetObjectInformationResponse.fromJson(Map<String, dynamic> json) {
  return GetObjectInformationResponse(
    objectIdentifier: json['ObjectIdentifier'] as String?,
    schemaFacets: (json['SchemaFacets'] as List?)
        ?.whereNotNull()
        .map((e) => SchemaFacet.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}