fromJson static method

NestedContent fromJson(
  1. Map<String, dynamic> json
)

Implementation

static NestedContent fromJson(Map<String, dynamic> json) {
  return NestedContent(
    type: json['type'],
    content: json['content'],
  );
}