parse method Null safety

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

Implementation

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