fromMap method

  1. @override
LocalModelAdapter? fromMap(
  1. dynamic map
)
override

Convert the module information from DynamicMap.

Implementation

@override
LocalModelAdapter? fromMap(DynamicMap map) {
  if (map.get("type", "") != type) {
    return null;
  }
  return const LocalModelAdapter();
}