BatchGetObjectInformationResponse.fromJson constructor

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

Implementation

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