Dependencies.fromMap constructor

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

Implementation

factory Dependencies.fromMap(Map<String, dynamic> map) {
  return Dependencies(
    gitDependencies: map['gitDependencies'] as List<GitDependency>,
    pathDependencies: map['pathDependencies'] as List<PathDependency>,
    normalDependencies: map['normalDependencies'] as List<NormalDependency>,
    hostedDependencies: map['hostedDependencies'] as List<HostedDependency>,
    sdkDependencies: map['sdkDependencies'] as List<SdkDependency>,
  );
}