toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (value != null) {
    json[r'value'] = value;
  }
  if (updateValue != null) {
    json[r'updateValue'] = updateValue;
  }
  if (lock != null) {
    json[r'lock'] = lock;
  }
  return json;
}