fromJsonString static method
Implementation
static CustomBlockEmbed fromJsonString(String data) {
final embeddable = Embeddable.fromJson(jsonDecode(data));
return CustomBlockEmbed(embeddable.type, embeddable.data);
}
static CustomBlockEmbed fromJsonString(String data) {
final embeddable = Embeddable.fromJson(jsonDecode(data));
return CustomBlockEmbed(embeddable.type, embeddable.data);
}