$Identity.fromJson constructor Null safety

$Identity.fromJson(
  1. Map json_
)

Implementation

$Identity.fromJson(core.Map json_)
    : this(
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.int
            : null,
        updateId: json_.containsKey('updateId')
            ? json_['updateId'] as core.String
            : null,
      );