fromJson static method
Returns a new ComponentMeta instance and imports its values from
value
if it's a Map, null otherwise.
Implementation
// ignore: prefer_constructors_over_static_methods
static ComponentMeta? fromJson(dynamic value) {
if (value is Map) {
final json = value.cast<String, dynamic>();
return ComponentMeta(
params: mapCastOfType<String, String>(json, r'params'),
paramsInfo: mapCastOfType<String, String>(json, r'paramsInfo'),
);
}
return null;
}