getType method

String getType(
  1. String type
)

Implementation

String getType(String type) {
  switch (type.toUpperCase()) {
    case 'INTEGER':
      return 'int';
    case 'REAL':
      return 'double';
    case 'TEXT':
      return 'String';
    case 'BLOB':
      return 'Uint8List';
    case 'BOOL':
      return 'bool';
    default:
      return 'String';
  }
}