ConfigField.fromJson constructor

ConfigField.fromJson(
  1. Map<String, dynamic> json
)

Read this payload from a decoded JSON object.

Implementation

factory ConfigField.fromJson(Map<String, dynamic> json) => ConfigField(
      key: json['key'] as String,
      value: json['value'],
      source: json['source'] as String,
      requiresRestart: json['requiresRestart'] as bool,
    );