Rename.fromJson constructor

Rename.fromJson(
  1. Map json_
)

Implementation

Rename.fromJson(core.Map json_)
    : this(
        newTitle: json_.containsKey('newTitle')
            ? json_['newTitle'] as core.String
            : null,
        oldTitle: json_.containsKey('oldTitle')
            ? json_['oldTitle'] as core.String
            : null,
      );