ProjectTemplateConfigValue.fromJson constructor

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

Implementation

factory ProjectTemplateConfigValue.fromJson(Map<String, dynamic> json) {
  return ProjectTemplateConfigValue(
    description: json['description'] == null
        ? null
        : '${json['description']}',
    defaultValue: json['default'] == null ? null : '${json['default']}',
    secret: json['secret'] == null ? null : json['secret'] == true,
  );
}