InfoModuleData.fromJson constructor

InfoModuleData.fromJson(
  1. Map json_
)

Implementation

InfoModuleData.fromJson(core.Map json_)
    : this(
        labelValueRows: json_.containsKey('labelValueRows')
            ? (json_['labelValueRows'] as core.List)
                .map((value) => LabelValueRow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        showLastUpdateTime: json_.containsKey('showLastUpdateTime')
            ? json_['showLastUpdateTime'] as core.bool
            : null,
      );