NormalDependency.fromMap constructor

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

Implementation

factory NormalDependency.fromMap(Map<String, dynamic> map) {
  return NormalDependency(
    name: map['name'] as String,
    version: map['version'] as String,
  );
}