fromMap static method

MetaTagAttribute? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible MetaTagAttribute instance from a Map value.

Implementation

static MetaTagAttribute? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = MetaTagAttribute(
    name: map['name'],
    value: map['value'],
  );
  return instance;
}