CollectdValue.fromJson constructor

CollectdValue.fromJson(
  1. Map json_
)

Implementation

CollectdValue.fromJson(core.Map json_)
    : this(
        dataSourceName: json_.containsKey('dataSourceName')
            ? json_['dataSourceName'] as core.String
            : null,
        dataSourceType: json_.containsKey('dataSourceType')
            ? json_['dataSourceType'] as core.String
            : null,
        value: json_.containsKey('value')
            ? TypedValue.fromJson(
                json_['value'] as core.Map<core.String, core.dynamic>)
            : null,
      );