toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aliasContext != null) 'aliasContext': aliasContext!,
      if (aliasName != null) 'aliasName': aliasName!,
      if (gerritProject != null) 'gerritProject': gerritProject!,
      if (hostUri != null) 'hostUri': hostUri!,
      if (revisionId != null) 'revisionId': revisionId!,
    };