APIDocument.fromMap constructor Null safety

APIDocument.fromMap(
  1. Map<String, dynamic> map
)

Creates a specification from decoded JSON or YAML document object.

Implementation

APIDocument.fromMap(Map<String, dynamic> map) {
  decode(KeyedArchive.unarchive(map, allowReferences: true));
}