Data type and conversion of flutter, long-term update

Because of the need in the work, so the side encountered problems, while recording.

1. String to int

`String str = ‘1’;
var a = int.parse(str);
int aa = int.parse(str);`

2. String to double type

`var b = double.parse(str);
double bb = double.parse(str); `

3. Converting strings,

The tostring() method is used directly.

Recommended Today

Elasticsearch learning one (basic introduction)

1、 Introduction to elasticsearch You can describe elasticsearch as follows: A distributed real-time document storage, each field can be indexed and searched A distributed real time analysis search engine It is capable of extending hundreds of service nodes and supports Pb level structured or unstructured data Elasticsearch is a real-time distributed search and analysis engine […]