ContentBodyExpandable.fromJson constructor

ContentBodyExpandable.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentBodyExpandable.fromJson(Map<String, Object?> json) {
  return ContentBodyExpandable(
    content: json[r'content'] as String?,
    embeddedContent: json[r'embeddedContent'] as String?,
    webresource: json[r'webresource'] as String?,
    mediaToken: json[r'mediaToken'] as String?,
  );
}