toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (critical != null) 'critical': critical!,
      if (objectId != null) 'objectId': objectId!.toJson(),
      if (value != null) 'value': value!,
    };