getIdentifierByIdentifier static method

Map<String, dynamic>? getIdentifierByIdentifier(
  1. String? identifier
)

Returns the object identifier corresponding to the given identifier.

Returns null if none object identifier can be found for the given identifier.

Implementation

static Map<String, dynamic>? getIdentifierByIdentifier(String? identifier) {
  for (var element in oi) {
    if (element['identifierString'] == identifier) {
      return element;
    }
  }
  return null;
}