parseAsType property

String parseAsType

Implementation

String get parseAsType {
  var parseAs = '';

  if (dataType != null) {
    if (['String', 'String?', 'bool', 'bool?'].contains(dataType)) {
      parseAs = 'as $dataType';
    }
  }

  return parseAs;
}