fromMap static method

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

Gets a possible ProcessGlobalConfigDirectoryBasePaths instance from a Map value.

Implementation

static ProcessGlobalConfigDirectoryBasePaths? fromMap(
    Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = ProcessGlobalConfigDirectoryBasePaths(
    cacheDirectoryBasePath: map['cacheDirectoryBasePath'],
    dataDirectoryBasePath: map['dataDirectoryBasePath'],
  );
  return instance;
}