FvmSettings.fromMap constructor

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

Returns FvmSettings from a map of values

Implementation

factory FvmSettings.fromMap(Map<String, dynamic> map) {
  return FvmSettings(
    cachePath: map['cachePath'] as String?,
    skipSetup: map['skipSetup'] as bool? ?? false,
    gitCache: map['gitCache'] as bool? ?? false,
  );
}