factory StringArray.fromJson(Map<String, dynamic> json) { return StringArray(values: decodeList(json['values']) ?? []); }