HMSErrorCode.fromMap constructor Null safety

HMSErrorCode.fromMap(
  1. dynamic code
)

Implementation

factory HMSErrorCode.fromMap(dynamic code) {
  return HMSErrorCode(errorCode: code.toString());
}