identifierMetaDataFromJson function

List<IdentifierMetaData> identifierMetaDataFromJson(
  1. String str
)

Parses a JSON string to a list of IdentifierMetaData.

This function decodes a JSON string into a list of IdentifierMetaData objects. It is useful for deserializing JSON data into identifiable metadata instances.

Parameters: str - A JSON string representation of a list of identifier metadata.

Returns: A list of IdentifierMetaData instances.

Implementation

List<IdentifierMetaData> identifierMetaDataFromJson(String str) =>
    List<IdentifierMetaData>.from(
        json.decode(str).map((x) => IdentifierMetaData.fromJson(x)));