HugepagesConfig.fromJson constructor

HugepagesConfig.fromJson(
  1. Map json_
)

Implementation

HugepagesConfig.fromJson(core.Map json_)
    : this(
        hugepageSize1g: json_.containsKey('hugepageSize1g')
            ? json_['hugepageSize1g'] as core.int
            : null,
        hugepageSize2m: json_.containsKey('hugepageSize2m')
            ? json_['hugepageSize2m'] as core.int
            : null,
      );