fromMap static method

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

Gets a possible ProcessGlobalConfigSettings instance from a Map value.

Implementation

static ProcessGlobalConfigSettings? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = ProcessGlobalConfigSettings(
    dataDirectorySuffix: map['dataDirectorySuffix'],
    directoryBasePaths: ProcessGlobalConfigDirectoryBasePaths.fromMap(
        map['directoryBasePaths']?.cast<String, dynamic>()),
  );
  return instance;
}