FieldValueChange.fromJson constructor

FieldValueChange.fromJson(
  1. Map json_
)

Implementation

FieldValueChange.fromJson(core.Map json_)
  : this(
      displayName: json_['displayName'] as core.String?,
      fieldId: json_['fieldId'] as core.String?,
      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,
    );