Content.fromMap constructor

Content.fromMap(
  1. Map<String, Object?> value
)

Implementation

factory Content.fromMap(Map<String, Object?> value) {
  assert(value.containsKey('type'));
  return Content._(value);
}