anchor.diff:        type = input.containsKey('type') ? types[input.type] : Type.unknown;
         source = input.containsKey('source') ? input.source : null;
         destination = input.containsKey('destination') ? input.destination : null;
  -      resourceId = input.containsKey('resourceId') ? input.resourceId : null;
  +      resourceName = input.containsKey('resourceName') ? input.resourceName : null;
         resourceDetails =
         input.containsKey('resourceDetails') ? input.resourceDetails : null;
       }
  
positive.code:   /// Dartivity Destination
    String destination;
  
    /// Iotivity resource identifier
    String resourceId;
  
    /// Iotivity resource details
    Map<String, String> resourceDetails;
  
    DartivityMessage();
  
    DartivityMessage.whoHas(String source, String resourceId) {
      if ((source == null) || (resourceId == null)) {
        throw new DartivityException(DartivityException.INVALID_WHOHAS_MESSAGE);
      }
      this.type = Type.whoHas;
      this.source = source;
      this.resourceId = resourceId;
    }
  
    DartivityMessage.iHave(String source, String destination, String resourceId,
                           Map resourceDetails) {
      if ((source == null) ||
      (resourceDetails == null) ||
      (destination == null) ||
      (resourceId == null)) {
        throw new DartivityException(DartivityException.INVALID_IHAVE_MESSAGE);
      }
      this.type = Type.iHave;
      this.source = source;
      this.destination = destination;
      this.resourceId = resourceId;
      this.resourceDetails = resourceDetails;
    }
  
    DartivityMessage.details(String source, String destination, String resourceId,
                             Map resourceDetails) {
      if ((source == null) ||
      (resourceDetails == null) ||
      (destination == null) ||
      (resourceId == null)) {
        throw new DartivityException(
            DartivityException.INVALID_RESOURCE_DETAILS_MESSAGE);
      }
      this.type = Type.resourceDetails;
      this.source = source;
      this.destination = destination;
      this.resourceId = resourceId;
      this.resourceDetails = resourceDetails;
    }
  
  
negative.code:       source = jsonobj.containsKey('source') ? jsonobj.source : null;
        destination =
        jsonobj.containsKey('destination') ? jsonobj.destination : null;
        resourceName = jsonobj.containsKey('resourceName') ? jsonobj.resourceName : null;
        resourceDetails = jsonobj.containsKey('resourceDetails')
        ? jsonobj.resourceDetails
        : null;
  