FlutterSpotlightItem.fromMap constructor

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

Implementation

factory FlutterSpotlightItem.fromMap(Map<String, dynamic> map) {
  return FlutterSpotlightItem(
    uniqueIdentifier: map['uniqueIdentifier'],
    domainIdentifier: map['domainIdentifier'],
    attributeTitle: map['attributeTitle'],
    attributeDescription: map['attributeDescription'],
  );
}