DataFrame constructor

DataFrame({
  1. int? callID,
  2. DataFrame_Header? header,
  3. DataFrame_Trailer? trailer,
  4. List<int>? body,
})

Implementation

factory DataFrame({
  $core.int? callID,
  DataFrame_Header? header,
  DataFrame_Trailer? trailer,
  $core.List<$core.int>? body,
}) {
  final _result = create();
  if (callID != null) {
    _result.callID = callID;
  }
  if (header != null) {
    _result.header = header;
  }
  if (trailer != null) {
    _result.trailer = trailer;
  }
  if (body != null) {
    _result.body = body;
  }
  return _result;
}