parse method Null safety

Protocol? parse(
  1. Map<String, dynamic>? json
)

Implementation

static Protocol? parse(Map<String, dynamic>? json) =>
    json == null ? null : Protocol._fromJson(json);