ContentBodyCreateStorage.fromJson constructor

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

Implementation

factory ContentBodyCreateStorage.fromJson(Map<String, Object?> json) {
  return ContentBodyCreateStorage(
    value: json[r'value'] as String? ?? '',
    representation: ContentBodyCreateStorageRepresentation.fromValue(
        json[r'representation'] as String? ?? ''),
  );
}