ApiProperties.fromMap constructor

ApiProperties.fromMap(
  1. Map map
)

Implementation

factory ApiProperties.fromMap(Map map) {
  return new ApiProperties(
    baseUrl: map['baseUrl'] as String?,
    connectTimeout: map['connectTimeout'] as int?,
    receiveTimeout: map['receiveTimeout'] as int?,
  );
}