MergeConflict.fromJson constructor

MergeConflict.fromJson(
  1. Map json_
)

Implementation

MergeConflict.fromJson(core.Map json_)
    : this(
        entityInBaseVersion: json_.containsKey('entityInBaseVersion')
            ? Entity.fromJson(json_['entityInBaseVersion']
                as core.Map<core.String, core.dynamic>)
            : null,
        entityInWorkspace: json_.containsKey('entityInWorkspace')
            ? Entity.fromJson(json_['entityInWorkspace']
                as core.Map<core.String, core.dynamic>)
            : null,
      );