fromMap method
Implementation
bool fromMap(Map<dynamic, dynamic> argsMap) {
int argsCounter=0;
argsMap.forEach((key, value) {
if((key == PjsipConnectPlatform.kArgMsgId)&&(value is int)) { messageId = value; argsCounter+=1; } else
if((key == PjsipConnectPlatform.kArgAccId)&&(value is int)) { accId = value; argsCounter+=1; } else
if((key == PjsipConnectPlatform.kFrom)&&(value is String)) { from = value; argsCounter+=1; } else
if((key == PjsipConnectPlatform.kBody)&&(value is String)) { body = value; argsCounter+=1; }
});
return (argsCounter==4);
}