fromJson method for ValueItem
factory ValueItem.fromJson(String source) => ValueItem.fromMap(json.decode(source));