getMetadata<T> method
T
getMetadata<T>()
Returns the metadata associated to the RemotePeer
Implementation
T getMetadata<T>() {
final data = jsonDecode(_metadata);
return data as T;
}
Returns the metadata associated to the RemotePeer
T getMetadata<T>() {
final data = jsonDecode(_metadata);
return data as T;
}