Mutation.fromJson constructor

Mutation.fromJson(
  1. Map json_
)

Implementation

Mutation.fromJson(core.Map json_)
    : this(
        baseVersion: json_.containsKey('baseVersion')
            ? json_['baseVersion'] as core.String
            : null,
        delete: json_.containsKey('delete')
            ? Key.fromJson(
                json_['delete'] as core.Map<core.String, core.dynamic>)
            : null,
        insert: json_.containsKey('insert')
            ? Entity.fromJson(
                json_['insert'] as core.Map<core.String, core.dynamic>)
            : null,
        update: json_.containsKey('update')
            ? Entity.fromJson(
                json_['update'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        upsert: json_.containsKey('upsert')
            ? Entity.fromJson(
                json_['upsert'] as core.Map<core.String, core.dynamic>)
            : null,
      );