FieldValueChange.fromJson constructor

FieldValueChange.fromJson(
  1. Map json_
)

Implementation

FieldValueChange.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        fieldId: json_.containsKey('fieldId')
            ? json_['fieldId'] as core.String
            : null,
        newValue: json_.containsKey('newValue')
            ? FieldValue.fromJson(
                json_['newValue'] as core.Map<core.String, core.dynamic>)
            : null,
        oldValue: json_.containsKey('oldValue')
            ? FieldValue.fromJson(
                json_['oldValue'] as core.Map<core.String, core.dynamic>)
            : null,
      );