encode (serialization) : data structure -> string
decode (deserialization) : string -> data structure(Map<String, dynamic>)