fromJson static method
Implementation
static Valuable fromJson(JsonMap params, {String titleKey = 'name', String valueKey = 'id'}) {
return Valuable.glass(params[titleKey].toString(), params[valueKey].toString());
}
static Valuable fromJson(JsonMap params, {String titleKey = 'name', String valueKey = 'id'}) {
return Valuable.glass(params[titleKey].toString(), params[valueKey].toString());
}