ConfigurationKey.fromJSON constructor

ConfigurationKey.fromJSON(
  1. dynamic jsonData
)

Implementation

ConfigurationKey.fromJSON(jsonData) {
  final ConfigKeyType dataType =
      TypeConversion.dataTypeFromJSON(jsonData['dataType']);

  this.path = jsonData['path'];
  this.dataType = dataType;
  this.value = TypeConversion.valueFromJSON(jsonData['value'], dataType);
}