Decodes a map to a given type T.
T
This is a typed wrapper around the fromValue method.
T fromMap<T>(Map<String, dynamic> map);