DocumentationPartIds.fromJson constructor

DocumentationPartIds.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DocumentationPartIds.fromJson(Map<String, dynamic> json) {
  return DocumentationPartIds(
    ids: (json['ids'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    warnings: (json['warnings'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}