Header constructor

Header({
  1. String? id,
  2. String? namespace,
  3. String? targetMethod,
  4. Header_CommunicationType? intent,
  5. String? platformCallBackMethodHandler,
  6. String? targetMethodCancellation,
  7. int? callBackReferenceId,
})

Implementation

factory Header({
  $core.String? id,
  $core.String? namespace,
  $core.String? targetMethod,
  Header_CommunicationType? intent,
  $core.String? platformCallBackMethodHandler,
  $core.String? targetMethodCancellation,
  $core.int? callBackReferenceId,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (namespace != null) {
    _result.namespace = namespace;
  }
  if (targetMethod != null) {
    _result.targetMethod = targetMethod;
  }
  if (intent != null) {
    _result.intent = intent;
  }
  if (platformCallBackMethodHandler != null) {
    _result.platformCallBackMethodHandler = platformCallBackMethodHandler;
  }
  if (targetMethodCancellation != null) {
    _result.targetMethodCancellation = targetMethodCancellation;
  }
  if (callBackReferenceId != null) {
    _result.callBackReferenceId = callBackReferenceId;
  }
  return _result;
}