PostDocument.fromJson constructor

PostDocument.fromJson(
  1. List json
)

Implementation

factory PostDocument.fromJson(List<dynamic> json) => PostDocument(
  json
      .whereType<Map>()
      .map((m) => _factory.fromJson(m.cast<String, Object?>()))
      .toList(growable: false),
);